onSuspended

abstract fun onSuspended()

Invoked when the associated template is temporarily suspended or paused.

Suspension might occur when the template is moved to the background, obscured by other content, or when system resources need to be conserved. While suspended, the template should ideally cease animations, updates, and resource-intensive operations. Its state should be preserved so it can be resumed later via onResumed.